all:
	gcc VirtualMachine.c -o primevalvm
	gcc CodeGenerator.c main.c Parser.c Scanner.c SymbolTable.c -o primeval

primevalvm:
	gcc VirtualMachine.c -o primevalvm

primeval:
	gcc CodeGenerator.c main.c Parser.c Scanner.c SymbolTable.c -o primeval

clean:
	rm -f primevalvm primeval outPut.pve log.txt

test:
	./primeval tests/arithexpr.pv
	./primevalvm outPut.pve

	./primeval tests/boolexpr.pv
	./primevalvm outPut.pve

	./primeval tests/arrays.pv
	./primevalvm outPut.pve

	./primeval tests/records.pv
	./primevalvm outPut.pve

	./primeval tests/ifelse.pv
	./primevalvm outPut.pve

	./primeval tests/while.pv
	./primevalvm outPut.pve

	./primeval tests/procedures.pv
	./primevalvm outPut.pve

	
